from sqlalchemy import Column, String, Integer
from sqlalchemy.sql.sqltypes import DateTime
from datetime import datetime
from OrmBase import OrmBase,Base

class UserModel(OrmBase,Base):
    __tablename__ = 'users'
    # uuid
    uuid = Column(String(36), primary_key=True)
    # 姓名
    name = Column(String(64), index=True)
    # 部门
    group = Column(String(128), index=True)
    # 位置
    location = Column(String(128))
    # 创建时间
    createTime = Column(DateTime, default=datetime.utcnow)








